package com.example.moneybook.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("bill")
public class Bill {
    @TableId(value = "bill_id", type = IdType.AUTO)
    private Integer billId; //账单id
    private String userId;  //用户id
    private int accountId; //账户id
    private int money;  //金额
    private int state;  //收支状态
    private String billType;    //账单类型
    private String typeIcon;    //类型图片
    private String remarks;     //备注
    private String billDate;    //账单日期
    private String billTime;    //账单时间
}
